home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
PROGIALS
/
PTUTOR2B.LZH
/
REPEATLP.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1988-01-15
|
372b
|
16 lines
(* Chapter 4 - Program 6 *)
program Repeat_Loop_Example;
var Count : integer;
begin
Count := 4;
repeat
Write('This is in the ');
Write('repeat loop, and ');
Write('the index is',Count:4);
Writeln;
Count := Count + 2;
until Count = 20;
Writeln(' We have completed the loop ');
end.